/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejb.entity;

import entity.User;
import javax.annotation.PostConstruct;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author psed
 */
@Stateless
public class UserFacade {

    @PersistenceContext(unitName = "tryPostConstructApp-ejbPU")
    private EntityManager em;

    @PostConstruct
    public void init() {
        System.out.println("BEAN " + UserFacade.class + " CONSTRUCTED");
    }
}
